num = int(input("请输入一个数字："))
i = 0
for x in range(1,num):
    if x % 2 == 0:
        i += 1
print("num内有%d个偶数"%i)